/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import java.io.*;

public class Persoana implements Serializable{

    private String firstName;
    private String lastName;
    private String mail;

    public Persoana (String lastName, String firstName,String mail){
        this.lastName=lastName;
        this.firstName=firstName;
        this.mail=mail;
    }

    public String getFirstName(){
        return this.firstName;
    }
    public String getLastName(){
        return this.lastName;
    }
    public String getMail(){
        return this.mail;
    }
    public String toString(){
        return "Persoana < "+this.lastName+" "+this.firstName+"> are adresa de mail <" +this.mail +" >";
    }
}
